/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package poker_sim;

import java.awt.Component;
import java.awt.image.BufferedImage;

/**
 *
 * @author Rob
 */
public class Card// extends Component
{
    
    BufferedImage IMG;
    int UniqueID;
    String CardName;
    CardType Type;
    public Card(int _UniqueID, String _CardName, CardType _Type, BufferedImage _IMG)
    {
        UniqueID = _UniqueID;
        CardName = _CardName;
        Type = _Type;
        IMG = _IMG;
    }

    public Card()
    {
        UniqueID = 0;
        CardName = "0";
        Type = CardType.DEFAULT;
    }
    
     public String Getfullname(){
        return CardName+" "+Type.TypeName;
    }
    
}
